package com.zbkj.crmeb.store.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zbkj.crmeb.store.model.HomeStylePrevious;


/**
 * 保存之前的样式
 * @Author: wangzh
 * @Date: 2022/9/14 16:39
 */

public interface HomeStylePreviousService extends IService<HomeStylePrevious> {

    /**
     * 功能描述: 备份商户上一次的首页个性化内容
     * @Param: [merId]
     * @Return: java.lang.Boolean
     * @Author: wangzh
     * @Date: 2022/9/15 9:47
     */
    Boolean savePrevious(Boolean save, Integer merId);

    /**
     * 功能描述: 根据商户id进行还原首页
     * @Param: [merId]
     * @Return: java.lang.Boolean
     * @Author: wangzh
     * @Date: 2022/9/15 10:22
     */
    Boolean restoreStyle(Integer merId);
}
